Tootsville::Infinity-Init-User-Room

Function

Infinity-Init-User-Room names a function, with lambda list (D USER RECIPIENT/S):

Create a user's private room (in their house).

Lisp INIT-USER-ROOM = JSON initUserRoom

Creates room named user/user's name/room — room is the room index number given in the JSON data as “room,” it will always be zero right now as all users have single-room houses. This will populate all furniture-type items for that room onto a set of room variables owned by the user. The user calling this method must be the owner of the room. If the user has not visited his/her house before, this will return an asynchronous "make a new house" notification to do the "first run" screen, by sending a message of type

{ "from":  "initUserRoom",
"status": false, "err": "showFirstRun" }.

Success: responds with true, and "moniker": the room's moniker (user/WHOEVER/123)

If unneccessary, returns an error of "exists" meaning that the room is already existing

jso - { room: (room-number), autoJoin: (boolean) }

u - The user whose house-room needs to be initialized

410 Gone

Removed in 2.0.

User rooms are no longer needed nor supported.

File

Defined in file src/infinity/legacy-commands.lisp.